#pragma once
#include "BmpBtn.h"

class GUI_API CCheckBtn :   public CBmpBtn
{
public:
	CCheckBtn(){};
	CCheckBtn(UINT nID);
	CCheckBtn(wstring strCaption,UINT nID);
	CCheckBtn(DWORD dwStyle,wstring strCaption, const CRect &rc, UINT nID);
	CCheckBtn(DWORD dwStyle, wstring strCaption, int x, int y, int cx, int cy, UINT nID);
	virtual ~CCheckBtn(void);

public:
	void SetChecked(BOOL bChecked)
	{
		m_bChecked = bChecked;
	}

	BOOL IsChecked()
	{
		return m_bChecked;
	}

protected:
	BOOL     m_bChecked;

protected:
	void Init();
	virtual void Paint(CDC* pDC);
};
